<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>template-v-if</title>
		<script src="https://cdn.jsdelivr.net/npm/vue"></script>
	</head>
	<body>
		<div id="app">
			<template v-if="ok">
				<h1>Title</h1>
				<p>Paragraph 1</p>
				<p>Paragraph 2</p>
			</template>
			<template v-else="ok">
				<h1>Title2</h1>
				<p>Paragraph 3</p>
				<p>Paragraph 4</p>
			</template>
		</div>
		<script>
			var vm = new Vue({
				el:'#app',
				data:{
					ok: false
				}
			})
		</script>
	</body>
</html>
